package com.mtnz.njk.entity;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.util.Date;

/**
 * @Description: 商品活动赠品实体类
 * @Author: FBL
 * @CreateDate: 2019\7\26 0026 8:49
 * @Version: 1.0
 */
@Table(name = "product_active_give")
@Data
public class ProductActiveGiveEntity {
    @Id
    @Column(name = "active_give_id")
    private Integer activeGiveId;
    @Column(name = "give_name")
    private String giveName;
    @Column(name = "give_remark")
    private String giveRemark;
    @Column(name = "give_img")
    private String giveImg;
    @Column(name = "postage_flag")
    private Integer postageFlag;
    @Column(name = "sold_flag")
    private Integer soldFlag;
    @Column(name = "repository_num")
    private Integer repositoryNum;
    @Column(name = "create_time")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;
    @Column(name = "give_explain")
    private String giveExplain;


}
